/* el-tabs 样式重写。自定义限定范围：.my-el-tabs */
.my-el-tabs{
  height: 40px;
  &.el-tabs--card {
    .el-tabs__header {
      border-bottom: 1px solid #3A8EFF;
      .el-tabs__nav-wrap {
        .el-tabs__nav {
          border: none;
          .el-tabs__item {
            border: 1px solid #E4E7ED;
            border-bottom: 1px solid #3A8EFF;
            margin-right: 10px;
            border-radius: 5px 5px 0 0;
            &.is-active {
              border: 1px solid #3A8EFF;
              border-bottom: #FFFFFF;
              background-color: #FFF;
            }
          }
        }
      }
    }
  }
}

/* el-dialog 样式重写 */
.my-el-dialog {
  border-radius: 10px;
  .el-dialog__header {
    padding: 15px 20px;
    border-bottom: 1px solid #E8E8E8;
    .el-dialog__headerbtn {
      top: auto;
    }
  }
  .el-dialog__body {
    padding: 10px 20px;
    overflow: auto;
    max-height: 55vh;
  }
  .el-dialog__footer {
    border-top: 1px solid #E8E8E8;
    padding: 15px 20px;
  }
}

/* el-table 部分样式重写 */
.el-table::before {
  height: 0;
}
.el-table__fixed-right::before, .el-table__fixed::before {
  background-color: inherit;
}

.authority-el-table {
  .el-table__header-wrapper {
    .el-table__header {
      tr > th {
        background-color: #F8F9FB;
      }
    }
  }
}

/* el-empty 样式重写 */
.el-empty {
  .el-empty__description {
    margin-top: 0;
    p {
      color: #ced4da;
    }
  }
}

/* loading 样式重写 */
.el-loading-spinner {
  display: flex;
  justify-content: center;
}

/* 左侧菜单样式重写 el-menu */
.el-submenu .el-menu-item {
  min-width: auto;
}

button:focus { outline: none; }
